//
//  Red_BillTableViewCell.m
//  HappyRent
//
//  Created by CoderYee on 2017/4/7.
//  Copyright © 2017年 内圈科技. All rights reserved.
//

#import "Red_BillTableViewCell.h"

@implementation Red_BillTableViewCell

-(void)addOwnView{
    
    [super addOwnView];
    
    _describeLable=[[UILabel alloc] init];
    _describeLable.text=@"账户到账";
    _describeLable.font=systemfont(14);
    _describeLable.textColor=kBlackColor;
    [self.contentView addSubview:_describeLable];
    [_describeLable mas_makeConstraints:^(MASConstraintMaker *make) {
       
        make.centerY.equalTo(self);
        make.left.equalTo(self.contentView).with.offset(15);
        make.height.mas_equalTo(21);
    }];
    
    _dataLable=[[UILabel alloc] init];
    _dataLable.text=@"2018-08-23";
    _dataLable.font=systemfont(12);
    _dataLable.textColor=kGrayColor;
    [self.contentView addSubview:_dataLable];
    [_dataLable mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.bottom.equalTo(self.contentView.mas_centerY);
        make.right.equalTo(self.contentView).with.offset(-15);
        make.height.mas_equalTo(21);
    }];
    
    _moneyLable=[[UILabel alloc] init];
    _moneyLable.text=@"+68";
    _moneyLable.font=systemfont(12);
    _moneyLable.textColor=kGrayColor;
    [self.contentView addSubview:_moneyLable];
    [_moneyLable mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.contentView.mas_centerY);
        make.right.equalTo(self.contentView).with.offset(-15);
        make.height.mas_equalTo(21);
        
    }];


    
}
-(void)bindViewModel{
    
    [super bindViewModel];
    
}
//配置Cell
-(void)configTableView:(UITableView *)tableView withModel:(BaseModel *)model{
    
    
}
@end
